#pragma once

#include "server.h"


typedef struct {
    struct wl_list link;
    struct wlr_input_device *device;
    Server* server;

    struct wl_listener modifiers;
    struct wl_listener key;
    struct wl_listener destroy;
} Keyboard;


Keyboard *keyboard_create(struct wlr_input_device *device, Server* server);
void keyboard_destroy(Keyboard* keyboard);
